package com.lxj.service;

import com.lxj.domain.GroupMember;

import java.util.List;

public interface GroupMemberService {
    List<GroupMember> findMemberByGroupId(Integer id);

    List<GroupMember> findContainUser(Integer id);

    int cancelMember(GroupMember groupMember);

    int addMember(GroupMember groupMember);

    List<GroupMember> selectAll(GroupMember groupMember);

    int getCount();

    List<GroupMember> findByGroupId(Integer id);

    void groupLeader(GroupMember groupMember);

    GroupMember findById(Integer id);
}
